package com.yi.wood.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by moyi on 2019/4/4 9:05
 *
 * @author moyi
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "role")
@Data
public class Role extends BaseEntity {
    /**
     * 角色名
     */
    @Column(name = "name")
    private String name;
    /**
     * 角色类型，1：
     */
    @Column(name = "type")
    private Integer type;
    /**
     * 状态，1-启用，0-禁用
     */
    @Column(name = "status")
    private Integer status;
    /**
     * 备注,描述
     */
    @Column(name = "remarks")
    private String remarks;

}
